const runtime.timerHeapN
7 uses
runtime (current package)
time.go#L1282: p := int(uint(i-1) / timerHeapN)
time.go#L1343: const timerHeapN = 4
time.go#L1365: p := int(uint(i-1) / timerHeapN) // parent
time.go#L1385: if i*timerHeapN+1 >= n {
time.go#L1393: leftChild := i*timerHeapN + 1
time.go#L1399: for j, tw := range heap[leftChild:min(leftChild+timerHeapN, n)] {
time.go#L1424: for i := int(uint(len(ts.heap)-1-1) / timerHeapN); i >= 0; i-- {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |